package com.ah;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * Hello world!
 *
 */
@EnableDubbo
/**
 * exclude = DataSourceAutoConfiguration.class
 * 启动项目排除自动启动myBatisPlus框架
 * */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@Slf4j
public class OrderDubboApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(OrderDubboApplication.class);
        log.info("===============订单dubbo服务启动成功====================");
    }
}
